#ifndef _CONTEXTEGL2_H_
#define _CONTEXTEGL2_H_

#include "czDisplay.h"

#include <EGL/egl.h>

class ContextEGL2: public Context
{
public:
  bool init(WindowInterface* window);

  void shutdown();

  bool fullscreen() { return true; }
  bool windowed() { return true; }

  void toggle() {}
  void update();
private:
  // EGL variables
  EGLDisplay			eglDisplay;
  EGLConfig			  eglConfig;
  EGLSurface			eglSurface;
  EGLContext			eglContext;
  EGLNativeWindowType	eglWindow;
  EGLint				pi32ConfigAttribs[128];
  WindowHandle hWnd;
#ifdef _WIN32
  HDC hDC;
#endif
};

#endif // _CONTEXTEGL2_H_
